 import request from '@/utils/request.js'

import {useTokenStore} from '@/stores/token.js'






export const resourcePublishListService = (params)=>{
    return  request.get('/admin/resource/publish/list',{params:params})
 }




 export const resourcePublishAddService = (params)=>{
     return  request.post('/admin/resource/publish/add',params)
 }
 export const resourcePublishEditService = (params)=>{
     return  request.post('/admin/resource/publish/edit',params)
 }


 export const resoucePublishDeleteService = (id)=>{
     return request.get('/admin/resource/publish/del?id='+id)
 }